projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e827bc3
)
(apropos-print): If command has no key bindings, say how to run it with M-x.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 4 May 1996 00:50:49 +0000
(
00:50
+0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 4 May 1996 00:50:49 +0000
(
00:50
+0000)
lisp/apropos.el
patch
|
blob
|
history
diff --git
a/lisp/apropos.el
b/lisp/apropos.el
index 8ebddb9bd5cafd840d333fc69a94af1623f0a8f1..df8dc9305a0a405f4885d838ec48d55bdc6e5ffc 100644
(file)
--- a/
lisp/apropos.el
+++ b/
lisp/apropos.el
@@
-493,7
+493,14
@@
found."
key))
key)
item ", "))
- (insert "(not bound to any keys)")))
+ (insert "Type ")
+ (insert "M-x")
+ (put-text-property (- (point) 3) (point)
+ 'face apropos-keybinding-face)
+ (insert " " (symbol-name symbol) " ")
+ (insert "RET")
+ (put-text-property (- (point) 3) (point)
+ 'face apropos-keybinding-face)))
(terpri)
;; only now so we don't propagate text attributes all over
(put-text-property point1 point2 'item